select 
	{reprint == $补打$:
		$
			cast(id as varchar)+ '(票据补打)'			        	
		$,
	 reprint == $正常$:	
		$
		id
		$,
        $$
	} id,
	CONVERT(varchar(100), GETDATE(), 23) newdata,
	f_user_name,
	f_user_type,
	f_address,
	f_collection,
	[dbo].[f_num_chn](f_collection) f_daxie, 		--大写金额合计
  	f_payment,
	f_operator
 from t_sellinggas 
 where id = '{id}'